Skip to content

Conversation

@vmikhailenko
Copy link
Contributor

No description provided.

This annotation propagates across projections and they also omit the ignored elements. This can be overridden with the following annotation:

```cds
annotate Books:ignored with @cds.java.ignore: false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm probably lacking modelling knowledge to understand this. How do I set the context where this should be used, for example a service? I guess it's not globally overridden, or?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I understand the question.

Copy link
Contributor

@renejeglinsky renejeglinsky Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this annotate statement usually located?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inside the service where annotation is overridden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants